package com.qfedu.mavenk.di;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc: weapon的子类
 * @datatime: 2022/10/19 19:59
 */
public class Sword extends Weapon{
    //ctrl+o 实现父类函数
    @Override
    public void attack() {
        System.out.println("剑，攻击");
    }
}
